package com.wf.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 
 * @TableName facility_info
 */
@TableName(value ="facility_info")
@Data
public class FacilityInfo implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer facilityId;

    /**
     * 设施名字
     */
    private String facilityName;

    /**
     * 设施类型(1=卧室设施，2=公共设施)
     */
    private Integer facilityType;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 是否删除(0=正常，1=删除)
     */
    @TableLogic
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}